* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #111111;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #000000;
}

input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #2308f2fc;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s;
}

/* 输入框获取焦点时边框变红 */
input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: red;
    outline: none;
}

textarea {
    height: 120px;
    resize: vertical;
    min-height: 80px;
}

.radio-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.radio-group input {
    margin-right: 5px;
}

.radio-group label {
    display: inline-flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

input[type="checkbox"] {
    margin-right: 8px;
}

button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 2px;
}

button:hover {
    background-color: #d9363e;
}